<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改密码</title>
<link rel="stylesheet" type="text/css" href="{{ asset('css2/style.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ asset('css2/shopping-mall-index.css') }}" />
<script type="text/javascript" src="{{ asset('js/jquery.js') }}"></script>
<script type="text/javascript" src="{{ asset('js/zhonglin.js') }}"></script>
<script type="text/javascript" src="{{ asset('js/zhongling2.js') }}"></script>
</head>

@extends('home.base.index')

@section('content')
    
    <!--内容开始-->
    <div class="personal w1200">
    	<div class="personal-left f-l">
        	<div class="personal-l-tit">
            	<h3>个人中心</h3>
            </div>
            <ul>
            	   <li class="current-li per-li1"><a href="#">消息中心<span>></span></a></li>
                <li class="per-li2"><a href="{{url('/home/userinfo')}}">个人资料<span>></span></a></li>
                <li class="per-li3"><a href="/home/userorder">我的订单<span>></span></a></li>
                <li class="per-li6"><a href="/home/address">管理收货地址<span>></span></a></li>
                <li class="per-li7"><a href="/home/interest">商品收藏<span></span></a></li>
                <li class="per-li8"><a href="/home/okconfirm">确认收货<span>></span></a></li>
                <li class="per-li9"><a href="#">浏览记录<span>></span></a></li>
                <li class="per-li10"><a href="#">会员积分<span>></span></a></li>
            </ul>
        </div>

         <form action='/home/userinfo/{{$id}}' method='post'>
                    <input type='hidden' name='_token' value='{{ csrf_token() }}'>
                    <input type='hidden' name='_method' value='PUT'>
    	<div class="personal-r f-r">
        	<div class="personal-right">
                <div class="personal-r-tit">
                    <h3>修改密码</h3>
                </div>
                <div class="data-con">
                	<!-- <div class="dt1">
                    	<p class="f-l">当前头像：</p>
                        <div class="touxiang f-l">
                        	<div class="tu f-l">
                            	<a href="#">
                                	<img src="images/data-tu.gif" />
                                    <input type="file" name="" id="" class="img1" />
                                </a>
                            </div>
                            <a href="JavaScript:;" class="sc f-l" shangchuang="">上传头像</a>
                            <div style="clear:both;"></div>
                        </div>
                        <div style="clear:both;"></div>
                    </div> -->
                    <div class="dt1">
                        <p class="dt-p f-l">原密码</p>
                         <input type="password" name="oldpassword"  value='{{$userinfo}}'/>
                        <div style="clear:both;"></div>
                    </div>
                    <div class="dt1">
                    	<p class="dt-p f-l">新密码</p>
                         <input type="password" name="password" />
                        <div style="clear:both;"></div>
                    </div>
                    <button class="btn-pst">保存</button>
                </div>
                <h3>@if (session('msg'))
                    {{ session('msg') }}
                @endif
            </h3>
            </div>
        </div>

        <div style="clear:both;"></div>
    </div>
      </form>
    <!--上传头像弹窗
    <div class="tanchuang">
    	<div class="t-c-bg"></div>
    	<div class="t-c-con">
        	<div class="tc-tit">
            	<h3>上传头像</h3>
                <a href="JavaScript:;" delete=""><img src="images/t-c-del.gif" /></a>
                <div style="clear:both;"></div>
            </div>
            <div class="tc-con">
            	<a href="#"><img src="images/tc-tu.gif" /></a>
                <button>保存头像</button>
            </div>
        </div>
    </div>-->
    
   @stop